package e.odbo.data.dsl.operation;

public class QOP {
    QueryOperation queryOperation;
    private   QOP(){
        queryOperation=new QueryOperation();
    }

    public static QOP  c(){
        return new QOP();
    }

    public  QOP order(String field){
        queryOperation.order(field);
        return this;
    }

    public QOP order(String field,boolean asc){
        queryOperation.order(field,asc);
        return this;
    }

    public QueryOperation page(int start,int length){
        queryOperation.page(start,length);
        return queryOperation;
    }

    public QueryOperation build(){
        return queryOperation;
    }
}
